#pragma once

#include "Scubserver.h"
#include <string>

struct IndenterOptions
{
	IndenterOptions()
	{
	}
};

struct Indenter :
    public Scubserver
{
private:
	signed int m_nIndent;
	bool m_bIgnoreWhitespace;
	std::string m_sIndent;

public:
    void onNewToken(Token& inToken);
    void onScopeEntry(Scope& inNewScope, Scope& inOldScope);
    void onScopeExit(Scope& inNewScope, Scope& inOldScope);
	virtual void setScope(Scope& inScope)
	{
	}

	void tabify(bool bEndOfScope);

    Indenter(void);
    ~Indenter(void);
};
